
<?php echo $this->element('body_help');?>
<div class="wrap">
<div id="icon-users" class="icon32"><br></div>
<h2>
	<?php __('Sửa lịch đăng ký');?>
	<a class="button add-new-h2" href="<?php echo $this->webroot;?>schedule_registries"><?php __('Lĩnh vực đăng ký');?></a>
</h2>
<?php echo $this->Session->flash();?>
<br/>
<div id="pageFormContent">
<div id="form_project">
<div class="projectCategories form">
<?php echo $this->Form->create('ScheduleRegistry');?>
	<fieldset>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('schedule_id',array('label'=>'Tên lịch đăng ký','class'=>'required'));
		echo $this->Form->input('start_time',array('label'=>'Thời gian bắt đầu','class'=>'required'));
		echo $this->Form->input('end_time',array('label'=>'Thời gian kết thúc','class'=>'required'));
		echo $this->Form->input('status',array('label'=>'Trạng thái','class'=>'required'));
		echo $this->Form->input('schedule_type_id',array('label'=>'Kiểu lịch đăng ký','class'=>'required'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Cập nhật',true)));?>
</div>
<script type="text/javascript">
        $(document).ready(function()    {
            $('#ScheduleRegistryEditForm').validate();
        });
</script>
</div>

<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $this->Form->value('ScheduleRegistry.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $this->Form->value('ScheduleRegistry.id'))); ?></li>
		<li><?php echo $this->Html->link(__('List Schedule Registries', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('List Schedules', true), array('controller' => 'schedules', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Schedule', true), array('controller' => 'schedules', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Schedule Types', true), array('controller' => 'schedule_types', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Schedule Type', true), array('controller' => 'schedule_types', 'action' => 'add')); ?> </li>
	</ul>
</div>
<br class="clear">
</div>
<div class="clear"></div>
</div>